package com.singfan.core.dao.database.model;

import com.singfan.common.db.annotation.Primarykey;

import java.util.Date;

/**
 * Author: hansonghe
 * Date: 2015-09-15 12:07
 * Desc:
 */
public class CustomerCoupon {
    //主键
    @Primarykey
    private long id;
    //优惠劵id
    private long couponRecordId;
    //用户id
    private long customerId;
    //优惠金额
    private int amount;
    //适用条件
    private int priceCondition;
    //所适用的门店id
    private long shopId;
    //总店名称
    private String shopMasterName;
    //分店名称
    private String shopSlaveName;
    //订单id
    private long orderId;
    //过期时间
    private Date expiredTime;
    //创建时间
    private Date createTime;


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getCouponRecordId() {
        return couponRecordId;
    }

    public void setCouponRecordId(long couponRecordId) {
        this.couponRecordId = couponRecordId;
    }

    public long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(long customerId) {
        this.customerId = customerId;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public int getPriceCondition() {
        return priceCondition;
    }

    public void setPriceCondition(int priceCondition) {
        this.priceCondition = priceCondition;
    }

    public long getShopId() {
        return shopId;
    }

    public void setShopId(long shopId) {
        this.shopId = shopId;
    }

    public String getShopMasterName() {
        return shopMasterName;
    }

    public void setShopMasterName(String shopMasterName) {
        this.shopMasterName = shopMasterName;
    }

    public String getShopSlaveName() {
        return shopSlaveName;
    }

    public void setShopSlaveName(String shopSlaveName) {
        this.shopSlaveName = shopSlaveName;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public Date getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(Date expiredTime) {
        this.expiredTime = expiredTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
